package routers

import (
	"aaa123/controllers"
	beego "github.com/beego/beego/v2/server/web"
)

func init() {
	beego.Router("/", &controllers.MainController{})
	beego.Router("/login", &controllers.UserController{}, "get:Login")
	beego.Router("/add", &controllers.PetController{}, "post:Add")
	beego.Router("/upload", &controllers.PetController{}, "get:Upload")
	beego.Router("/limit", &controllers.PetController{}, "get:Limit")
	beego.Router("/list", &controllers.PetController{}, "get:List")
	beego.Router("/dilter", &controllers.PetController{}, "get:Dilter")
}
